package demo3;

public class Basic_Data_Types {
    static boolean bool;
    static byte by;
    static char ch;
    static double d;
    static float f;
    static int i;
    static long l;
    static short sh;
    static String str;

    public static void main(String[] args) {
        System.out.println("以下是基本数据类型的默认值：");
        System.out.println("Boolean : " + bool);
        System.out.println("Byte : " + by);
        System.out.println("Char : " + ch);
        System.out.println("Double: " + d);
        System.out.println("Float: " + f);
        System.out.println("Int: " + i);
        System.out.println("Long: " + l);
        System.out.println("Short: " + sh);
        System.out.println("String: " + str);
    }
}
